home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Hyper / Hy-Hyperi / HyperBBS 2.0.cpt / HyperBBS 2.0 / Message Section / background_2781.xml next >
Extensible Markup Language  |  1992-07-14  |  17KB  |  548 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>2781</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_19698.pbm</bitmap>
  7.     <cantDelete> <true /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_5469.css" />
  11.     <part>
  12.         <id>6</id>
  13.         <type>button</type>
  14.         <visible> <true /> </visible>
  15.         <reserved5> 0 </reserved5>
  16.         <reserved4> 0 </reserved4>
  17.         <reserved3> 0 </reserved3>
  18.         <reserved2> 0 </reserved2>
  19.         <reserved1> 0 </reserved1>
  20.         <enabled> <true /> </enabled>
  21.         <rect>
  22.             <left>251</left>
  23.             <top>295</top>
  24.             <right>278</right>
  25.             <bottom>320</bottom>
  26.         </rect>
  27.         <style>transparent</style>
  28.         <showName> <false /> </showName>
  29.         <highlight> <false /> </highlight>
  30.         <autoHighlight> <false /> </autoHighlight>
  31.         <sharedHighlight> <true /> </sharedHighlight>
  32.         <family>0</family>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>1013</icon>
  35.         <textAlign>center</textAlign>
  36.         <font>Chicago</font>
  37.         <textSize>12</textSize>
  38.         <textStyle>plain</textStyle>
  39.         <name>Next message</name>
  40.         <script>on doItget findNext(empty)if it is empty then notifyUser "No such message..."elsego to itend ifend doIt</script>
  41.     </part>
  42.     <part>
  43.         <id>5</id>
  44.         <type>button</type>
  45.         <visible> <true /> </visible>
  46.         <reserved5> 0 </reserved5>
  47.         <reserved4> 0 </reserved4>
  48.         <reserved3> 0 </reserved3>
  49.         <reserved2> 0 </reserved2>
  50.         <reserved1> 0 </reserved1>
  51.         <enabled> <true /> </enabled>
  52.         <rect>
  53.             <left>223</left>
  54.             <top>295</top>
  55.             <right>250</right>
  56.             <bottom>320</bottom>
  57.         </rect>
  58.         <style>transparent</style>
  59.         <showName> <false /> </showName>
  60.         <highlight> <false /> </highlight>
  61.         <autoHighlight> <false /> </autoHighlight>
  62.         <sharedHighlight> <true /> </sharedHighlight>
  63.         <family>0</family>
  64.         <titleWidth>0</titleWidth>
  65.         <icon>1014</icon>
  66.         <textAlign>center</textAlign>
  67.         <font>Chicago</font>
  68.         <textSize>12</textSize>
  69.         <textStyle>plain</textStyle>
  70.         <name>Previous</name>
  71.         <script>on doItget findPrev(empty)if it is empty then notifyUser "No such message..."elsego to itend ifend doIt</script>
  72.     </part>
  73.     <part>
  74.         <id>9</id>
  75.         <type>field</type>
  76.         <visible> <true /> </visible>
  77.         <dontWrap> <false /> </dontWrap>
  78.         <dontSearch> <false /> </dontSearch>
  79.         <sharedText> <false /> </sharedText>
  80.         <fixedLineHeight> <true /> </fixedLineHeight>
  81.         <autoTab> <false /> </autoTab>
  82.         <lockText> <false /> </lockText>
  83.         <rect>
  84.             <left>97</left>
  85.             <top>70</top>
  86.             <right>259</right>
  87.             <bottom>87</bottom>
  88.         </rect>
  89.         <style>transparent</style>
  90.         <autoSelect> <false /> </autoSelect>
  91.         <showLines> <true /> </showLines>
  92.         <wideMargins> <false /> </wideMargins>
  93.         <multipleLines> <false /> </multipleLines>
  94.         <reservedFamily> 0 </reservedFamily>
  95.         <titleWidth>0</titleWidth>
  96.         <icon>0</icon>
  97.         <textAlign>left</textAlign>
  98.         <font>Geneva</font>
  99.         <textSize>12</textSize>
  100.         <textStyle>plain</textStyle>
  101.         <textHeight>16</textHeight>
  102.         <name>Date</name>
  103.         <script></script>
  104.     </part>
  105.     <part>
  106.         <id>11</id>
  107.         <type>field</type>
  108.         <visible> <true /> </visible>
  109.         <dontWrap> <false /> </dontWrap>
  110.         <dontSearch> <false /> </dontSearch>
  111.         <sharedText> <false /> </sharedText>
  112.         <fixedLineHeight> <true /> </fixedLineHeight>
  113.         <autoTab> <false /> </autoTab>
  114.         <lockText> <false /> </lockText>
  115.         <rect>
  116.             <left>304</left>
  117.             <top>70</top>
  118.             <right>481</right>
  119.             <bottom>87</bottom>
  120.         </rect>
  121.         <style>transparent</style>
  122.         <autoSelect> <false /> </autoSelect>
  123.         <showLines> <true /> </showLines>
  124.         <wideMargins> <false /> </wideMargins>
  125.         <multipleLines> <false /> </multipleLines>
  126.         <reservedFamily> 0 </reservedFamily>
  127.         <titleWidth>0</titleWidth>
  128.         <icon>0</icon>
  129.         <textAlign>left</textAlign>
  130.         <font>Geneva</font>
  131.         <textSize>12</textSize>
  132.         <textStyle>plain</textStyle>
  133.         <textHeight>16</textHeight>
  134.         <name>From</name>
  135.         <script></script>
  136.     </part>
  137.     <part>
  138.         <id>18</id>
  139.         <type>button</type>
  140.         <visible> <true /> </visible>
  141.         <reserved5> 0 </reserved5>
  142.         <reserved4> 0 </reserved4>
  143.         <reserved3> 0 </reserved3>
  144.         <reserved2> 0 </reserved2>
  145.         <reserved1> 0 </reserved1>
  146.         <enabled> <true /> </enabled>
  147.         <rect>
  148.             <left>195</left>
  149.             <top>295</top>
  150.             <right>222</right>
  151.             <bottom>320</bottom>
  152.         </rect>
  153.         <style>transparent</style>
  154.         <showName> <false /> </showName>
  155.         <highlight> <false /> </highlight>
  156.         <autoHighlight> <false /> </autoHighlight>
  157.         <sharedHighlight> <true /> </sharedHighlight>
  158.         <family>0</family>
  159.         <titleWidth>0</titleWidth>
  160.         <icon>30557</icon>
  161.         <textAlign>center</textAlign>
  162.         <font>Chicago</font>
  163.         <textSize>12</textSize>
  164.         <textStyle>plain</textStyle>
  165.         <name>First</name>
  166.         <script>on doItget findNext(name of card "master template")if it is empty then notifyUser "No such message..."elsego to itend ifend doIt</script>
  167.     </part>
  168.     <part>
  169.         <id>13</id>
  170.         <type>field</type>
  171.         <visible> <true /> </visible>
  172.         <dontWrap> <false /> </dontWrap>
  173.         <dontSearch> <false /> </dontSearch>
  174.         <sharedText> <false /> </sharedText>
  175.         <fixedLineHeight> <true /> </fixedLineHeight>
  176.         <autoTab> <false /> </autoTab>
  177.         <lockText> <false /> </lockText>
  178.         <rect>
  179.             <left>97</left>
  180.             <top>86</top>
  181.             <right>259</right>
  182.             <bottom>103</bottom>
  183.         </rect>
  184.         <style>transparent</style>
  185.         <autoSelect> <false /> </autoSelect>
  186.         <showLines> <true /> </showLines>
  187.         <wideMargins> <false /> </wideMargins>
  188.         <multipleLines> <false /> </multipleLines>
  189.         <reservedFamily> 0 </reservedFamily>
  190.         <titleWidth>0</titleWidth>
  191.         <icon>0</icon>
  192.         <textAlign>left</textAlign>
  193.         <font>Geneva</font>
  194.         <textSize>12</textSize>
  195.         <textStyle>plain</textStyle>
  196.         <textHeight>16</textHeight>
  197.         <name>To</name>
  198.         <script></script>
  199.     </part>
  200.     <part>
  201.         <id>12</id>
  202.         <type>field</type>
  203.         <visible> <true /> </visible>
  204.         <dontWrap> <false /> </dontWrap>
  205.         <dontSearch> <false /> </dontSearch>
  206.         <sharedText> <false /> </sharedText>
  207.         <fixedLineHeight> <true /> </fixedLineHeight>
  208.         <autoTab> <false /> </autoTab>
  209.         <lockText> <false /> </lockText>
  210.         <rect>
  211.             <left>372</left>
  212.             <top>86</top>
  213.             <right>401</right>
  214.             <bottom>103</bottom>
  215.         </rect>
  216.         <style>transparent</style>
  217.         <autoSelect> <false /> </autoSelect>
  218.         <showLines> <true /> </showLines>
  219.         <wideMargins> <false /> </wideMargins>
  220.         <multipleLines> <false /> </multipleLines>
  221.         <reservedFamily> 0 </reservedFamily>
  222.         <titleWidth>0</titleWidth>
  223.         <icon>0</icon>
  224.         <textAlign>left</textAlign>
  225.         <font>Geneva</font>
  226.         <textSize>12</textSize>
  227.         <textStyle>plain</textStyle>
  228.         <textHeight>16</textHeight>
  229.         <name>Private (yes/no)</name>
  230.         <script></script>
  231.     </part>
  232.     <part>
  233.         <id>19</id>
  234.         <type>button</type>
  235.         <visible> <true /> </visible>
  236.         <reserved5> 0 </reserved5>
  237.         <reserved4> 0 </reserved4>
  238.         <reserved3> 0 </reserved3>
  239.         <reserved2> 0 </reserved2>
  240.         <reserved1> 0 </reserved1>
  241.         <enabled> <true /> </enabled>
  242.         <rect>
  243.             <left>279</left>
  244.             <top>295</top>
  245.             <right>306</right>
  246.             <bottom>320</bottom>
  247.         </rect>
  248.         <style>transparent</style>
  249.         <showName> <false /> </showName>
  250.         <highlight> <false /> </highlight>
  251.         <autoHighlight> <false /> </autoHighlight>
  252.         <sharedHighlight> <true /> </sharedHighlight>
  253.         <family>0</family>
  254.         <titleWidth>0</titleWidth>
  255.         <icon>26865</icon>
  256.         <textAlign>center</textAlign>
  257.         <font>Chicago</font>
  258.         <textSize>12</textSize>
  259.         <textStyle>plain</textStyle>
  260.         <name>Last</name>
  261.         <script>on doItset lockScreen to trueset lockMessages to truepush cardgo to last cardget the name of this cardif not passesFilter() then get findPrev(it)pop cardset lockScreen to falseset lockMessages to falseif it is empty then notifyUser "No such message..."elsego to itend ifend doIt</script>
  262.     </part>
  263.     <part>
  264.         <id>21</id>
  265.         <type>field</type>
  266.         <visible> <true /> </visible>
  267.         <dontWrap> <false /> </dontWrap>
  268.         <dontSearch> <false /> </dontSearch>
  269.         <sharedText> <false /> </sharedText>
  270.         <fixedLineHeight> <true /> </fixedLineHeight>
  271.         <autoTab> <false /> </autoTab>
  272.         <lockText> <false /> </lockText>
  273.         <rect>
  274.             <left>432</left>
  275.             <top>86</top>
  276.             <right>481</right>
  277.             <bottom>103</bottom>
  278.         </rect>
  279.         <style>transparent</style>
  280.         <autoSelect> <false /> </autoSelect>
  281.         <showLines> <true /> </showLines>
  282.         <wideMargins> <false /> </wideMargins>
  283.         <multipleLines> <false /> </multipleLines>
  284.         <reservedFamily> 0 </reservedFamily>
  285.         <titleWidth>0</titleWidth>
  286.         <icon>0</icon>
  287.         <textAlign>left</textAlign>
  288.         <font>Geneva</font>
  289.         <textSize>12</textSize>
  290.         <textStyle>plain</textStyle>
  291.         <textHeight>16</textHeight>
  292.         <name>File</name>
  293.         <script></script>
  294.     </part>
  295.     <part>
  296.         <id>17</id>
  297.         <type>button</type>
  298.         <visible> <true /> </visible>
  299.         <reserved5> 0 </reserved5>
  300.         <reserved4> 0 </reserved4>
  301.         <reserved3> 0 </reserved3>
  302.         <reserved2> 0 </reserved2>
  303.         <reserved1> 0 </reserved1>
  304.         <enabled> <true /> </enabled>
  305.         <rect>
  306.             <left>309</left>
  307.             <top>295</top>
  308.             <right>391</right>
  309.             <bottom>317</bottom>
  310.         </rect>
  311.         <style>roundrect</style>
  312.         <showName> <true /> </showName>
  313.         <highlight> <false /> </highlight>
  314.         <autoHighlight> <true /> </autoHighlight>
  315.         <sharedHighlight> <true /> </sharedHighlight>
  316.         <family>0</family>
  317.         <titleWidth>0</titleWidth>
  318.         <icon>0</icon>
  319.         <textAlign>center</textAlign>
  320.         <font>Chicago</font>
  321.         <textSize>12</textSize>
  322.         <textStyle>plain</textStyle>
  323.         <name>Continuous</name>
  324.         <script>on doItglobal sendAbortedput false into sendAbortedget findNext(empty)if it is empty then notifyUser "No such messages..."elserepeat until sendAborted or (the mouse is down) or (it is empty)go to itget findNext(empty)end repeatend ifend doIt</script>
  325.     </part>
  326.     <part>
  327.         <id>20</id>
  328.         <type>button</type>
  329.         <visible> <true /> </visible>
  330.         <reserved5> 0 </reserved5>
  331.         <reserved4> 0 </reserved4>
  332.         <reserved3> 0 </reserved3>
  333.         <reserved2> 0 </reserved2>
  334.         <reserved1> 0 </reserved1>
  335.         <enabled> <true /> </enabled>
  336.         <rect>
  337.             <left>54</left>
  338.             <top>295</top>
  339.             <right>126</right>
  340.             <bottom>317</bottom>
  341.         </rect>
  342.         <style>roundrect</style>
  343.         <showName> <true /> </showName>
  344.         <highlight> <false /> </highlight>
  345.         <autoHighlight> <true /> </autoHighlight>
  346.         <sharedHighlight> <true /> </sharedHighlight>
  347.         <family>0</family>
  348.         <titleWidth>0</titleWidth>
  349.         <icon>0</icon>
  350.         <textAlign>center</textAlign>
  351.         <font>Chicago</font>
  352.         <textSize>12</textSize>
  353.         <textStyle>plain</textStyle>
  354.         <name>Download</name>
  355.         <script>--Download buttonon doItglobal onLine, fileFolder, loadLogif onLine thenget dateToSecs(field "date")set lockMessages to truepush cardgo to card "downloading"sendString "Start your XModem receive..." & returnXModem "send",fileFolder & ":",the short name of this stack && itif the result is "no such file" thensendString "No file to download..." & returnend ifwait 2 secondsif the result is not empty thensendString "Download failed..." & returnpop cardelsepop cardput the date && "download:" && field "subject" & return ¬¨before loadLogend ifset lockMessages to falseelseput fileFolder & ":" & the short name of this stack && ¬¨dateToSecs(field "date") into oldNameget deMacBinify(oldName,fileFolder & ":localTemp")ask "File name?" with itif it is not empty thenrenameFile fileFolder & ":localTemp", fileFolder & ":" & itput the date && "local download:" && field "subject" & return ¬¨before loadLogelse deleteFile fileFolder & ":localTemp"end ifend doIt</script>
  356.     </part>
  357.     <part>
  358.         <id>14</id>
  359.         <type>field</type>
  360.         <visible> <true /> </visible>
  361.         <dontWrap> <false /> </dontWrap>
  362.         <dontSearch> <false /> </dontSearch>
  363.         <sharedText> <false /> </sharedText>
  364.         <fixedLineHeight> <true /> </fixedLineHeight>
  365.         <autoTab> <false /> </autoTab>
  366.         <lockText> <false /> </lockText>
  367.         <rect>
  368.             <left>97</left>
  369.             <top>102</top>
  370.             <right>481</right>
  371.             <bottom>119</bottom>
  372.         </rect>
  373.         <style>transparent</style>
  374.         <autoSelect> <false /> </autoSelect>
  375.         <showLines> <true /> </showLines>
  376.         <wideMargins> <false /> </wideMargins>
  377.         <multipleLines> <false /> </multipleLines>
  378.         <reservedFamily> 0 </reservedFamily>
  379.         <titleWidth>0</titleWidth>
  380.         <icon>0</icon>
  381.         <textAlign>left</textAlign>
  382.         <font>Geneva</font>
  383.         <textSize>12</textSize>
  384.         <textStyle>plain</textStyle>
  385.         <textHeight>16</textHeight>
  386.         <name>Subject</name>
  387.         <script></script>
  388.     </part>
  389.     <part>
  390.         <id>16</id>
  391.         <type>button</type>
  392.         <visible> <true /> </visible>
  393.         <reserved5> 0 </reserved5>
  394.         <reserved4> 0 </reserved4>
  395.         <reserved3> 0 </reserved3>
  396.         <reserved2> 0 </reserved2>
  397.         <reserved1> 0 </reserved1>
  398.         <enabled> <true /> </enabled>
  399.         <rect>
  400.             <left>131</left>
  401.             <top>295</top>
  402.             <right>191</right>
  403.             <bottom>317</bottom>
  404.         </rect>
  405.         <style>roundrect</style>
  406.         <showName> <true /> </showName>
  407.         <highlight> <false /> </highlight>
  408.         <autoHighlight> <true /> </autoHighlight>
  409.         <sharedHighlight> <true /> </sharedHighlight>
  410.         <family>0</family>
  411.         <titleWidth>0</titleWidth>
  412.         <icon>0</icon>
  413.         <textAlign>center</textAlign>
  414.         <font>Chicago</font>
  415.         <textSize>12</textSize>
  416.         <textStyle>plain</textStyle>
  417.         <name>Reply</name>
  418.         <script>on doItglobal doingBackFields, nextFieldNumget field "from"push cardgo to card "New message:"put it into card field "to (name or 'all')"sendString "To: " & it & returnput false into doingBackFieldsput 4 into nextFieldNumend doIt</script>
  419.     </part>
  420.     <part>
  421.         <id>23</id>
  422.         <type>button</type>
  423.         <visible> <true /> </visible>
  424.         <reserved5> 0 </reserved5>
  425.         <reserved4> 0 </reserved4>
  426.         <reserved3> 0 </reserved3>
  427.         <reserved2> 0 </reserved2>
  428.         <reserved1> 0 </reserved1>
  429.         <enabled> <true /> </enabled>
  430.         <rect>
  431.             <left>394</left>
  432.             <top>295</top>
  433.             <right>454</right>
  434.             <bottom>317</bottom>
  435.         </rect>
  436.         <style>roundrect</style>
  437.         <showName> <true /> </showName>
  438.         <highlight> <false /> </highlight>
  439.         <autoHighlight> <true /> </autoHighlight>
  440.         <sharedHighlight> <true /> </sharedHighlight>
  441.         <family>0</family>
  442.         <titleWidth>0</titleWidth>
  443.         <icon>0</icon>
  444.         <textAlign>center</textAlign>
  445.         <font>Chicago</font>
  446.         <textSize>12</textSize>
  447.         <textStyle>plain</textStyle>
  448.         <name>Kill</name>
  449.         <script>on doItglobal userName, fileFolder, userOptif "killAny" is in userOpt then--skip can't delete messageelseif first char of field "private (yes/no)" is "n" thennotifyUser "Can't delete public messages, ask a sysop to delete"exit doitend ifend ifif itemsMatch(userName,field "to") or ¬¨itemsMatch(userName,field "from") or ¬¨("killAny" is in userOpt) thenget findNext(empty)if it is empty then get findPrev(empty)set lockScreen to trueset lockMessages to truedeleteFile fileFolder & ":" & the short name of this stack && ¬¨dateToSecs(field "date")doMenu delete cardset lockScreen to falseset lockMessages to falseif it is not empty then go to itelse go to first cardelse notifyUser "Can't delete other people's messages..."end doIt</script>
  450.     </part>
  451.     <part>
  452.         <id>7</id>
  453.         <type>button</type>
  454.         <visible> <true /> </visible>
  455.         <reserved5> 0 </reserved5>
  456.         <reserved4> 0 </reserved4>
  457.         <reserved3> 0 </reserved3>
  458.         <reserved2> 0 </reserved2>
  459.         <reserved1> 0 </reserved1>
  460.         <enabled> <true /> </enabled>
  461.         <rect>
  462.             <left>457</left>
  463.             <top>294</top>
  464.             <right>487</right>
  465.             <bottom>322</bottom>
  466.         </rect>
  467.         <style>transparent</style>
  468.         <showName> <false /> </showName>
  469.         <highlight> <false /> </highlight>
  470.         <autoHighlight> <false /> </autoHighlight>
  471.         <sharedHighlight> <true /> </sharedHighlight>
  472.         <family>0</family>
  473.         <titleWidth>0</titleWidth>
  474.         <icon>1012</icon>
  475.         <textAlign>center</textAlign>
  476.         <font>Chicago</font>
  477.         <textSize>12</textSize>
  478.         <textStyle>plain</textStyle>
  479.         <name>Quit</name>
  480.         <script>on doItpop cardend doIt</script>
  481.     </part>
  482.     <part>
  483.         <id>15</id>
  484.         <type>field</type>
  485.         <visible> <true /> </visible>
  486.         <dontWrap> <false /> </dontWrap>
  487.         <dontSearch> <false /> </dontSearch>
  488.         <sharedText> <false /> </sharedText>
  489.         <fixedLineHeight> <true /> </fixedLineHeight>
  490.         <autoTab> <false /> </autoTab>
  491.         <lockText> <false /> </lockText>
  492.         <rect>
  493.             <left>43</left>
  494.             <top>138</top>
  495.             <right>481</right>
  496.             <bottom>292</bottom>
  497.         </rect>
  498.         <style>scrolling</style>
  499.         <autoSelect> <false /> </autoSelect>
  500.         <showLines> <true /> </showLines>
  501.         <wideMargins> <false /> </wideMargins>
  502.         <multipleLines> <false /> </multipleLines>
  503.         <reservedFamily> 0 </reservedFamily>
  504.         <titleWidth>0</titleWidth>
  505.         <icon>0</icon>
  506.         <textAlign>left</textAlign>
  507.         <font>Geneva</font>
  508.         <textSize>10</textSize>
  509.         <textStyle>plain</textStyle>
  510.         <textHeight>13</textHeight>
  511.         <name>Message</name>
  512.         <script>-- long</script>
  513.     </part>
  514.     <part>
  515.         <id>22</id>
  516.         <type>button</type>
  517.         <visible> <true /> </visible>
  518.         <reserved5> 0 </reserved5>
  519.         <reserved4> 0 </reserved4>
  520.         <reserved3> 0 </reserved3>
  521.         <reserved2> 0 </reserved2>
  522.         <reserved1> 0 </reserved1>
  523.         <enabled> <true /> </enabled>
  524.         <rect>
  525.             <left>24</left>
  526.             <top>294</top>
  527.             <right>52</right>
  528.             <bottom>319</bottom>
  529.         </rect>
  530.         <style>transparent</style>
  531.         <showName> <false /> </showName>
  532.         <highlight> <false /> </highlight>
  533.         <autoHighlight> <false /> </autoHighlight>
  534.         <sharedHighlight> <true /> </sharedHighlight>
  535.         <family>0</family>
  536.         <titleWidth>0</titleWidth>
  537.         <icon>25002</icon>
  538.         <textAlign>center</textAlign>
  539.         <font>Chicago</font>
  540.         <textSize>12</textSize>
  541.         <textStyle>plain</textStyle>
  542.         <name>?</name>
  543.         <script>on mouseUpgo to "User Help"end mouseUp</script>
  544.     </part>
  545.     <name>messages</name>
  546.     <script>on initFieldsend initFields</script>
  547. </background>
  548.